package eu.liquify.ui {
	public class Binding {
		public var item:IHasBindValue;
		public var ref:PropertyReference;
		public function Binding(item:IHasBindValue, target:Object, property:String) {
			this.item = item;
			ref = new PropertyReference(target, property);
			item.bindValue = ref.getProperty();
		}
		public function apply():void {
			ref.setProperty(item.bindValue);
		}
	}

}